package astnode;

import common.TokenType;

public class UnitaryOperationNode extends ExpressionNode{
	public UnitaryOperationNode(int lineNum) {
		super(lineNum);
	}
	private TokenType operator;
	private ExpressionNode operand;
	public TokenType getOperator() {
		return operator;
	}
	public void setOperator(TokenType operator) {
		this.operator = operator;
	}
	public ExpressionNode getOperand() {
		return operand;
	}
	public void setOperand(ExpressionNode exp) {
		this.operand = exp;
	}
}
